<?php

namespace App\Models;

use Dcat\Admin\Traits\HasDateTimeFormatter;

use Illuminate\Database\Eloquent\Model;

class Position extends Model
{
	use HasDateTimeFormatter;

    public function post()
    {
        return $this->belongsTo(Post::class,'post_id');
    }


    public function profession()
    {
        return $this->belongsTo(FirmProfession::class,'firm_profession_id');
    }
}
